package com.vo;

//模糊查询时用到的用户类

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class UserBackVo {

	private Integer id;
	private String login_name;
	private String nickname;
	private String password;
	private String role;
	private String email;
	private Integer status;

	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
	private Date create_date;
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
	private Date login_date;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date login_start_date;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date login_end_date;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date create_start_date;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date create_end_date;

	@Override
	public String toString() {
		return "UserBackVo{" +
				"id=" + id +
				", login_name='" + login_name + '\'' +
				", nickname='" + nickname + '\'' +
				", password='" + password + '\'' +
				", role='" + role + '\'' +
				", email='" + email + '\'' +
				", status=" + status +
				", create_date=" + create_date +
				", login_date=" + login_date +
				", login_start_date=" + login_start_date +
				", login_end_date=" + login_end_date +
				", create_start_date=" + create_start_date +
				", create_end_date=" + create_end_date +
				'}';
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLogin_name() {
		return login_name;
	}

	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Date getLogin_date() {
		return login_date;
	}

	public void setLogin_date(Date login_date) {
		this.login_date = login_date;
	}

	public Date getLogin_start_date() {
		return login_start_date;
	}

	public void setLogin_start_date(Date login_start_date) {
		this.login_start_date = login_start_date;
	}

	public Date getLogin_end_date() {
		return login_end_date;
	}

	public void setLogin_end_date(Date login_end_date) {
		this.login_end_date = login_end_date;
	}

	public Date getCreate_start_date() {
		return create_start_date;
	}

	public void setCreate_start_date(Date create_start_date) {
		this.create_start_date = create_start_date;
	}

	public Date getCreate_end_date() {
		return create_end_date;
	}

	public void setCreate_end_date(Date create_end_date) {
		this.create_end_date = create_end_date;
	}
}
